package com.itheima.service.db.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.itheima.domain.UmsMemberLevel;
import com.itheima.mapper.UmsMemberLevelMapper;
import com.itheima.service.db.UmsMemberLevelService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class UmsMemberLevelImpl implements UmsMemberLevelService {

    @Autowired
    UmsMemberLevelMapper umsMemberLevelMapper;

    @Override
    public List findAllMemberLevel(String defaultStatus) {
        LambdaQueryWrapper<UmsMemberLevel>lqw=new LambdaQueryWrapper<>();
        List<UmsMemberLevel> umsMemberLevels = umsMemberLevelMapper.selectList(lqw);
        return umsMemberLevels;
    }
}
